<?php
  /**
  * Product Brands Manager
  * @author: trungdt
  * @since: Sep 26, 2011
  * @version: 1.0
  * 
  *  
  * Change logs
  * Sep 26, 2011 - trungdt - First create
  */
  if (!defined('EXPONENT')) exit('');
  
  // Administrator access restrict
  if (exponent_users_isAdmin() || exponent_permissions_check(array('administrate', "configure"),$loc))
  {
	exponent_flow_set(SYS_FLOW_PUBLIC,SYS_FLOW_ACTION);
	$template=new template("productsmodule","_BrandManager",$loc);
	$template->register_permissions(array('administrate',"configure"),$loc);
	$template->output();
  }
  else
  {
	  exponent_flow_redirect();
  }
?>
